package com.thib.models;

import android.os.Parcel;
import android.os.Parcelable;

public class Channel implements Parcelable{
	
	private String name;
	private String chid;
	private String chicon;
	private String ch_icon;
	private String tags;
	private String epg_pre_start;
	private String epg_post_end;
	private String number;
	private String epggrabsrc;
	
	
	public Channel(){
		
		super();
		this.name 			= "";
		this.chid 			= "";
		this.chicon 		= "";
		this.ch_icon		= "";
		this.tags 			= "";
		this.epg_pre_start 	= "";
		this.epg_post_end 	= "";
		this.number 		= "";
		this.epggrabsrc 	= "";
		
	}
	
	public Channel(String name,String chid,String chicon,String ch_icon,String tags,String epg_pre_start,String epg_post_end,String number,String epggrabsrc){
	
		super();
		this.name 			= name;
		this.chid 			= chid;
		this.chicon 		= chicon;
		this.ch_icon		= ch_icon;
		this.tags 			= tags;
		this.epg_pre_start 	= epg_pre_start;
		this.epg_post_end 	= epg_post_end;
		this.number 		= number;
		this.epggrabsrc 	= epggrabsrc;
	}
	
	public String getName()			{return this.name;};
	public String getChid()			{return this.chid;};
	public String getChicon()		{return this.chicon;};
	public String getCh_icon()		{return this.ch_icon;};
	public String getTags()			{return this.tags;};
	public String getEpg_pre_start(){return this.epg_pre_start;};
	public String getEpg_post_end()	{return this.epg_post_end;};
	public String getNumber()		{return this.number;};
	public String getEpggrabsrc()	{return this.epggrabsrc;};
	
	public void  setName(String name)					{ this.name = name;};
	public void  setChid(String chid)					{ this.chid = chid;};
	public void  setChicon(String chicon )				{ this.chicon = chicon;};
	public void  setCh_icon(String ch_icon)				{ this.ch_icon = ch_icon;};
	public void  setTags(String tags)					{ this.tags = tags;};
	public void  setEpg_pre_start(String epg_pre_start)	{ this.epg_pre_start = epg_pre_start;};
	public void  setEpg_post_end(String epg_post_end)	{ this.epg_post_end = epg_post_end;};
	public void  setNumber(String number)				{ this.number = number;};
	public void  setEpggrabsrc(String epggrabsrc)		{ this.epggrabsrc = epggrabsrc;};
	
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel arg0, int arg1) {
		// TODO Auto-generated method stub
		arg0.writeString(name);
		arg0.writeString(chid);
		arg0.writeString(chicon);
		arg0.writeString(ch_icon);
		arg0.writeString(tags);
		arg0.writeString(epg_pre_start);
		arg0.writeString(epg_post_end);
		arg0.writeString(number);
		arg0.writeString(epggrabsrc);
		
	};
}
